package com.ycy.dubbo.entity;


import javax.validation.constraints.NotBlank;

/**
 * @author baizhoujie
 * @date 2021/4/16 19:00
 * @Description
 */
public class QueryTaskInstsDto {

    /**
     * 流程定义Key
     */
    private String procDefKey;

    private SearchQuery processQuery;

    private SearchQuery taskQuery;


    /**
     * 当前页
     * @required
     */
    private int pageNum;

    /**
     * 每页显示条数
     * @required
     */
    private int pageSize;

    /**
     * 租户id
     * @required
     */
    @NotBlank
    private String tenantId;

    public String getProcDefKey() {
        return procDefKey;
    }

    public void setProcDefKey(String procDefKey) {
        this.procDefKey = procDefKey;
    }

    public SearchQuery getProcessQuery() {
        return processQuery;
    }

    public void setProcessQuery(SearchQuery processQuery) {
        this.processQuery = processQuery;
    }

    public SearchQuery getTaskQuery() {
        return taskQuery;
    }

    public void setTaskQuery(SearchQuery taskQuery) {
        this.taskQuery = taskQuery;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
